package monster.com.cvh.bean;

import com.bigkoo.pickerview.model.IPickerViewData;

/**
 * @author: 13580
 * @data: 2018/4/8
 * @function:选择器Bean
 */
public class PickDataBean implements IPickerViewData {
    private String name;
    private int id;

    public PickDataBean(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public PickDataBean() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "PickDataBean{" +
                "name='" + name + '\'' +
                ", id=" + id +
                '}';
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
